export function impData() {
  const impData = [];
  for (let i = 1; i <= 10; i++) {
    impData.push({
      id: '@id',
      title: '@csentence(10, 20)',
      time: '@datetime("yyyy/MM HH:mm")',
      source: '微博',
      read: '@integer(1, 99)',
      like: '@integer(1, 99)',
      comment: '@integer(1, 99)',
      reply: '@integer(1, 99)',
      order: i,
      account: '人民日报',
      fans: '@integer(1, 99)',
      tag: '#余姚暴雨# [#余姚今明两天局部暴雨#]'
    });
  }
  return impData;
}

export function hotList() {
  const hotList = [];
  for (let i = 1; i <= 10; i++) {
    hotList.push({
      id: '@id',
      title: '@csentence(10, 20)',
      time: '@datetime("yyyy/MM HH:mm")',
      source: '微博',
      read: '@integer(1, 99)',
      like: '@integer(1, 99)',
      comment: '@integer(1, 99)',
      reply: '@integer(1, 99)',
      order: i
    });
  }
  return hotList;
}

// 当前发生的应急事件
export function urgentMatter() {
  const urgentMatter = [];
  for (let i = 1; i <= 3; i++) {
    urgentMatter.push({
      id: '@id',
      title: '@csentence(10, 30)',
      time: '@datetime("yyyy/MM HH:mm")',
      address: '@county',
      order: i,
      desc: '@csentence(50, 80)',
      keepTime: 24
    });
  }
  return urgentMatter;
}
